{% extends "front/front_signbase.html" %}

{% block title %}
    登录汇智论坛账号
{% endblock %}

{% block head %}
    <script src="{{ load_static_file("front/js/login.js")}}"></script>
{% endblock %}

{% block page_title %}
    {{ self.title() }}
{% endblock %}

{% block signbox %}
    <div class="form-group">
        <input type="text" class="form-control" name="email" placeholder="邮箱账号">
    </div>
    <div class="form-group">
        <input type="password" class="form-control" name="password" placeholder="密码">
    </div>
    <div class="checkbox">
        <label>
            <input type="checkbox" name="remember" value="1">记住我
        </label>
    </div>
    <div class="form-group">
        <button class="btn btn-primary btn-block" id="submit-btn">立即登录</button>
        <span id="return-to-span" style="display: none">{{ return_to }}</span>
    </div>
    <div class="form-group">
        <a class="regist-link" href="{{ url_for("front.register") }}">没有账号？立即注册</a>
        <a class="resetpwd-link" href="#">忘记密码</a>
    </div>
{% endblock %}